﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WarehouseManagement.Shared
{
    public class NumberGenerator
    {
        public static string GenerateNumber(string prefix, int month, int year, decimal numberOrder)
        {
            var today = DateTime.Now;
            var str = string.Format("{3}{0:0000}-{1:00}-{2:000000}", today.Year, today.Month, numberOrder, prefix);
            return str;
        }
       
    }
}
